package com.lanou.entity;

public class OrderDetail {
    private Integer id;
    private Integer order_id;
    private Integer item_id;
    private Integer item_num;

    public Integer getId() {
        return id;
    }

    public OrderDetail setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public OrderDetail setOrder_id(Integer order_id) {
        this.order_id = order_id;
        return this;
    }

    public Integer getItem_id() {
        return item_id;
    }

    public OrderDetail setItem_id(Integer item_id) {
        this.item_id = item_id;
        return this;
    }

    public Integer getItem_num() {
        return item_num;
    }

    public OrderDetail setItem_num(Integer item_num) {
        this.item_num = item_num;
        return this;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", order_id=" + order_id +
                ", item_id=" + item_id +
                ", item_num=" + item_num +
                '}';
    }
}
